import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 10, 10)

plt.figure(1)
y1 = 2 * x + 1
plt.plot(x, y1)
y2 = pow(x, 2)
plt.plot(x, y2)

plt.figure(2)
y3 = pow(x,3)
plt.plot(x,y3)

plt.show()